package com.ruoyi.contract.domain;

import com.ruoyi.ice.domain.DateFlow;
import com.ruoyi.ice.domain.ScoreFlow;
import com.ruoyi.ice.domain.StringFlow;
import com.ruoyi.ice.result.AmountResult;
import com.ruoyi.ice.result.LadderAmount;

public enum ConfTypeEnum {

    //字符串判断 获取 StringFlow的package name
    String ("String", StringFlow.class.getName()),
    Number ("Number", ScoreFlow.class.getName()),//数值判断
    Date ("Date", DateFlow.class.getName()),//日期判断
    Amount("Amount", AmountResult.class.getName()),//标准计费
    Ladder("Ladder", LadderAmount.class.getName());//阶梯计费

    private final String code;
    private final String info;


    ConfTypeEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

}
